<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<h:panelGrid columns="2">

		<ui:decorate template="/facelets/template/person/nameEdit.xhtml">
			<ui:param name="idPrefix" value="#{student}"/>
			<ui:param name="person" value="#{studentBean.record}"/>
		</ui:decorate>

		<h:panelGroup>
			<h:panelGrid columns="3">
				<h:outputText value="#{studentBundle.privacyNumber}"/>
				<h:inputText value="#{person.privacyNumber}" required="true" id="#{idPrefix}PrivacyNumber"
							 styleClass="sizeSelectMenu"
							 maxlength="100"/>
				<itdep:errorMessage for="#{idPrefix}PrivacyNumber"/>

				<h:outputText value="#{studentBundle.bookNumber}"/>
				<h:inputText value="#{person.bookNumber}" required="true" id="#{idPrefix}BookNumber"
							 styleClass="sizeSelectMenu"
							 maxlength="100"/>
				<itdep:errorMessage for="#{idPrefix}BookNumber"/>

			</h:panelGrid>
		</h:panelGroup>
	</h:panelGrid>

</ui:composition>